<center>
<h5><?echo $errorMsg?></h5>
<TABLE border='0' class='bTable' cellspacing='0'>
	<tr><td>USERNAME :</td><td>_username</td></tr>
	<tr><td>PASSWORD :</td><td>_password</td></tr>
	<tr><td>[FILE] :</td><td><? echo $file; ?></td></tr>
</table>
<br>
<TABLE border='0' class='bTable' cellspacing='0'>
<?
	$params = "";
	$params[sid]=$sid;
	$params[action]="set_mail";
	$params[file]="$file";
	$url="$baseURL/$webDIR/?".encode_params($params);
	$buff = get_mail($file);
?>
<form action='<?=$url;?>' method='POST'>
        <tr><td>SUBJECT : </td><td><input type='text' name='subject' size='50' value='<? echo $buff[subject];?> '></td></tr>
        <tr><td colspan=2><textarea name='body' rows='30' cols='80'><? echo $buff[body];?></textarea></td></tr>
        <tr><td align='right'><input type='reset' value='Clear'></td><td align='left'><input type='submit' value='Submit'><input type='hidden' name='file' value='<? echo $file; ?>'></td></tr>
</form>
</table>

